package com.dc;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author: KEYD
 * @Date: 2019/12/25 16:45
 * @Desc: 微信项目启动类
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableSwagger2Doc
//@EnableApolloConfig  //开启apollo配置中心
@EnableFeignClients  //开启feign客户端
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class})
public class AppWeiXin {
    public static void main(String[] args) {
        SpringApplication.run(AppWeiXin.class, args);
    }
}
